package com.baox.agridata.synchronous.service.impl;

import com.baox.agridata.synchronous.dao.TCCPAMapper;
import com.baox.agridata.synchronous.entity.TCCPAEntity;
import com.baox.agridata.synchronous.service.TCCPAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCPAServiceImpl implements TCCPAService {

    @Autowired
    private TCCPAMapper tccpaMapper;

    @Override
    public TCCPAEntity selectTCCPAById(String mid) {
        return tccpaMapper.selectTCCPAById(mid);
    }

    @Override
    public Integer insertIntoTCCPA(TCCPAEntity tccpaEntity) {
        return tccpaMapper.insertIntoTCCPA(tccpaEntity);
    }


    @Override
    public Integer updateTCCPAById(TCCPAEntity tccpaEntity) {
        return tccpaMapper.updateTCCPAById(tccpaEntity);
    }

    @Override
    public List<TCCPAEntity> selectChengDuProductALandingBack(String createTime) {
        return tccpaMapper.selectChengDuProductALandingBack(createTime);
    }
}
